names = ['a' , 'b' , 2 , 'c' , 2 , 'd' , 'e' , 'f']
first_index = names.index(2)
newList = names[first_index + 1 :]
print(newList)
second_index = newList.index(2)
print(first_index+second_index + 1)

